package com.xc.xcmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.xcmanage.domain.pojo.SysMenu;
import com.xc.xcmanage.domain.vo.RouterVo;

import java.util.List;

/**
 *
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> selectMenuTreeByUserId(Long userId);

    List<RouterVo> buildMenus(List<SysMenu> menus);
}
